/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-12-10 20:28:02
 * @LastEditTime: 2025-02-15 21:28:17
 * @FilePath: /monitor_belt/src/views/home/components/ware/nodes/internet_node.tsx
 */
import { memo } from "react"
import { Handle, Position } from "@xyflow/react"
import { Flex } from "antd"
import IconSvg from "@/components/icon_svg"

export default memo(({ data }: any) => {
  return (
    <Flex vertical justify="center">
      <span style={{fontSize:'20px'}}>
        {data.label}
      </span>
      <IconSvg name="internet" size={80} color="#1261FF" />
      <Handle type="source" position={Position.Right} />
    </Flex>
  )
})
